package com.yc.jiushujie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author 无罪
 * @since 2022-08-03
 */
@TableName("jsj_user")
public class JsjUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
private List<JsjBook>books;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public List<JsjBook> getBooks() {
        return books;
    }

    public void setBooks(List<JsjBook> books) {
        this.books = books;
    }

    @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      /**
     * 账号
     */
      private String account;

      /**
     * 姓名
     */
      private String name;

    private String pwd;

      /**
     * 邀请人id
     */
      private Integer inviteId;

    private String headImg;

    private String phone;

    private String email;

      /**
     * 学校id
     */
      private String school;

      /**
     * 性别
     */
      private String gender;

      /**
     * 签名
     */
      private String sign;

      /**
     * 收款账号类型
     */
      private String collectType;

      /**
     * 收款账号
     */
      private String collectAccount;

      /**
     * 收款账号名
     */
      private String collectName;

      /**
     * 收货人姓名
     */
      private String addrName;

      /**
     * 收货电话
     */
      private String addrPhone;

      /**
     * 收货邮编
     */
      private String addrPost;

    private String addrProvince;

      /**
     * 收货地址
     */
      private String addrDesc;

      /**
     * 注册时间
     */
      private LocalDateTime regTime;

      /**
     * 最后登录时间
     */
      private LocalDateTime lastLoginTime;

    
    public Integer getId() {
        return id;
    }

      public void setId(Integer id) {
          this.id = id;
      }
    
    public String getAccount() {
        return account;
    }

      public void setAccount(String account) {
          this.account = account;
      }
    
    public String getName() {
        return name;
    }

      public void setName(String name) {
          this.name = name;
      }
    
    public String getPwd() {
        return pwd;
    }

      public void setPwd(String pwd) {
          this.pwd = pwd;
      }
    
    public Integer getInviteId() {
        return inviteId;
    }

      public void setInviteId(Integer inviteId) {
          this.inviteId = inviteId;
      }
    
    public String getHeadImg() {
        return headImg;
    }

      public void setHeadImg(String headImg) {
          this.headImg = headImg;
      }
    
    public String getPhone() {
        return phone;
    }

      public void setPhone(String phone) {
          this.phone = phone;
      }
    
    public String getEmail() {
        return email;
    }

      public void setEmail(String email) {
          this.email = email;
      }
    
    public String getSchool() {
        return school;
    }

      public void setSchool(String school) {
          this.school = school;
      }
    
    public String getGender() {
        return gender;
    }

      public void setGender(String gender) {
          this.gender = gender;
      }
    
    public String getSign() {
        return sign;
    }

      public void setSign(String sign) {
          this.sign = sign;
      }
    
    public String getCollectType() {
        return collectType;
    }

      public void setCollectType(String collectType) {
          this.collectType = collectType;
      }
    
    public String getCollectAccount() {
        return collectAccount;
    }

      public void setCollectAccount(String collectAccount) {
          this.collectAccount = collectAccount;
      }
    
    public String getCollectName() {
        return collectName;
    }

      public void setCollectName(String collectName) {
          this.collectName = collectName;
      }
    
    public String getAddrName() {
        return addrName;
    }

      public void setAddrName(String addrName) {
          this.addrName = addrName;
      }
    
    public String getAddrPhone() {
        return addrPhone;
    }

      public void setAddrPhone(String addrPhone) {
          this.addrPhone = addrPhone;
      }
    
    public String getAddrPost() {
        return addrPost;
    }

      public void setAddrPost(String addrPost) {
          this.addrPost = addrPost;
      }
    
    public String getAddrProvince() {
        return addrProvince;
    }

      public void setAddrProvince(String addrProvince) {
          this.addrProvince = addrProvince;
      }
    
    public String getAddrDesc() {
        return addrDesc;
    }

      public void setAddrDesc(String addrDesc) {
          this.addrDesc = addrDesc;
      }
    
    public LocalDateTime getRegTime() {
        return regTime;
    }

      public void setRegTime(LocalDateTime regTime) {
          this.regTime = regTime;
      }
    
    public LocalDateTime getLastLoginTime() {
        return lastLoginTime;
    }

      public void setLastLoginTime(LocalDateTime lastLoginTime) {
          this.lastLoginTime = lastLoginTime;
      }

    @Override
    public String toString() {
        return "JsjUser{" +
              "id=" + id +
                  ", account=" + account +
                  ", name=" + name +
                  ", pwd=" + pwd +
                  ", inviteId=" + inviteId +
                  ", headImg=" + headImg +
                  ", phone=" + phone +
                  ", email=" + email +
                  ", school=" + school +
                  ", gender=" + gender +
                  ", sign=" + sign +
                  ", collectType=" + collectType +
                  ", collectAccount=" + collectAccount +
                  ", collectName=" + collectName +
                  ", addrName=" + addrName +
                  ", addrPhone=" + addrPhone +
                  ", addrPost=" + addrPost +
                  ", addrProvince=" + addrProvince +
                  ", addrDesc=" + addrDesc +
                  ", regTime=" + regTime +
                  ", lastLoginTime=" + lastLoginTime +
              "}";
    }
}
